//
//  ActivitySingleton.h
//  UI_豆瓣项目
//
//  Created by dllo on 15/11/6.
//  Copyright (c) 2015年 关业达. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Activity.h"
@interface ActivitySingleton : NSObject

+(instancetype)shareActivitySingleton;

- (void)openAB;
- (void)createTable;
- (void)insertActivity:(Activity *)acitivity UserName:(NSString *)userName;
- (void)deleteActivity:(NSString *)name;
- (NSMutableArray *)selectActivity: (NSString *)name;
- (void)dropTable;

@end
